import QtQuick 1.0
import com.nokia.symbian 1.1

CommonDialog {
    id: root

    property alias messageText: messageField.text

    property string dialogTitleText: ""

    titleText: dialogTitleText

    content: Column {
        spacing: 8
        anchors.left: parent.left; anchors.right: parent.right

        Text{
            id: messageField
            anchors.centerIn: parent
            color: "white"
        }
    }

    buttons: ButtonRow {
        anchors { left: parent.left; right:  parent.right; margins: 16 }
        Button { text: "Ok" ;    onClicked: root.accept();}
        Button { text: "Cancel" ;    onClicked: root.reject();}
    }
}
